{% extends "console.html" %}

{% block mainpane %}
    <h2>Add Machine</h2>
      {% if form.errors %}
        <p style="color: red;">
            Please correct the error{{ form.errors|pluralize }} below.
        </p>
      {% endif %}
      <form action="" method="post">
        <table>
            {{ form.as_table }}
        </table>
        <input type="submit" value="Add Machine">
    </form>
{% endblock %}